﻿namespace Library.OrmEnterpriseEntity.TableInfo {
	/// <summary>
	/// Validation type
	/// </summary>
	public enum ValidationError {
		/// <summary>
		/// Common validation
		/// </summary>
		Validation,
		/// <summary>
		/// value not assigned.
		/// </summary>
		MissingValue,
		/// <summary>
		/// Value of this validation exist in database
		/// </summary>
		ValueExistInDb,
		/// <summary>
		/// Max length reached
		/// </summary>
		MaxLen,
		/// <summary>
		/// Not exist parent key in DB
		/// </summary>
		ValueNotExistInDb,
		/// <summary>
		/// Delete fail because transaction exist in delete restrict table
		/// </summary> 
		DeleteTransExist

	}
}
